/**
 * Created by fangshufeng on 2018/3/25.
 */
import  React from 'react'
import {
    BrowserRouter,
    Route
} from 'react-router-dom'

import {App, ProductListApp} from  '../containers'

import {Provider} from 'react-redux'
import store from  '../store'

const router = (
    <Provider store={store}>
        <BrowserRouter >
            <div>
                <Route path="/"  exact component={App}></Route>
                <Route path='/productList' component={ProductListApp}/>
            </div>
        </BrowserRouter>
    </Provider>);

export  default router;